package request


type TaobaoMiniappAppSellerConfigCompleteRequest struct {
    /*
        商家已完成配置的小部件/B端插件的appid     */
    AppId  *int64 `json:"app_id" required:"true" `
    /*
        小部件必传，B端插件不用传。与app_id对应的已完成配置的版本号     */
    Version  *string `json:"version,omitempty" required:"false" `
}

func (s *TaobaoMiniappAppSellerConfigCompleteRequest) SetAppId(v int64) *TaobaoMiniappAppSellerConfigCompleteRequest {
    s.AppId = &v
    return s
}
func (s *TaobaoMiniappAppSellerConfigCompleteRequest) SetVersion(v string) *TaobaoMiniappAppSellerConfigCompleteRequest {
    s.Version = &v
    return s
}

func (req *TaobaoMiniappAppSellerConfigCompleteRequest) ToMap() map[string]interface{} {
    paramMap := make(map[string]interface{})
    if(req.AppId != nil) {
        paramMap["app_id"] = *req.AppId
    }
    if(req.Version != nil) {
        paramMap["version"] = *req.Version
    }
    return paramMap
}

func (req *TaobaoMiniappAppSellerConfigCompleteRequest) ToFileMap() map[string]interface{} {
    fileMap := make(map[string]interface{})
    return fileMap
}